import React, { Component } from 'react'
import Child from './components/Child'

class App extends Component {
  state = {
    title: '你好我是插槽'
  }

  render() {
    return (
      <div>
        <h2>App组件</h2>
        <hr />
        <Child
          count={100}
          arr={[1, 2, 3]}
          user={{ id: 1, name: 'aaa' }}
          users={[{ id: 1, name: 'aaa' }]}
          sex={'1'}
          num="100"
          ele={<h3>aaaa</h3>}
          fn={() => {
            console.log(123)
          }}
          other="admin123"
        />
      </div>
    )
  }
}

export default App
